#ifndef LINUXINPUTTYPE_H
#define LINUXINPUTTYPE_H

#include "inputtype.h"

class LinuxInputType : public InputType
{
public:
  LinuxInputType();
  virtual ~LinuxInputType();

  virtual bool poll();
  virtual bool isOpen() const;

private:
  void open();
  void close();
  bool read(void* data, unsigned int bytes);

  int mFD;
};

#endif
